/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package treegen;

/**
 *
 * @author Сергей
 */
public class Trunk {
    
    private double width;
    
    private double height;
    
    private int shape;
    
    private int truncCount;
    
    private double hStartBranches;
    
    private int divisionCount;
    
    private double hStartDivision;
    
    private int texture;

    public Trunk(TrunkPanel trunkPanel) {
        width = trunkPanel.getWidth();
        
        height = trunkPanel.getHeight();
    
        shape = trunkPanel.getShape();
    
        truncCount = trunkPanel.getTruncCount();
    
        hStartBranches = trunkPanel.getHStartBranches();
    
        divisionCount = trunkPanel.getDivisionCount();
    
        hStartDivision = trunkPanel.getHStartDivision();
    
        texture = trunkPanel.getTexture();
        
    }   
    
    
    
}
